<%--
  Created by IntelliJ IDEA.
  User: Mr.Yung
  Date: 2019/4/13
  Time: 11:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="<%=basePath%>/lib/bootstrap.min.css"/>
    <title>用户注册</title>
</head>
<body>
    <h2 class="text-center">SSM框架整合（分页查询）案例</h2>
    <hr/>
    <form action="<%=basePath%>/user/regist.do" method="post" class="form-inline text-center">
        <label>username:</label>
        <input type="text" class="form-control" name="username"/>
        <br/>
        <br/>
        <label>password:</label>
        <input type="password" class="form-control" name="password"/>
        <br/>
        <br/>
        <input type="submit" value="注册" class="btn btn-default"/>
    </form>
</body>
</html>
